// import './assets/main.css'
import 'lib-flexible'
import {createApp} from 'vue'
import {createPinia} from 'pinia'
// import {ConfigProvider} from 'vant'
import {Lazyload} from 'vant'
import VConsole from 'vconsole'
import App from './App.vue'
import router from './router'

if (import.meta.env.MODE === 'development') {
  const vConsole = new VConsole()
  // vConsole.destroy()
}
allowMultipleToast()

const app = createApp(App)
app.use(createPinia())
app.use(router)
// app.use(ConfigProvider)
app.use(Lazyload, {
  lazyComponent: true,
})

app.mount('#app')
